<?php
	
	namespace Aspic\Controller;
	use Aspic as A;
	use Aspic\Security\Security as S;

	class AccessDeniedException extends A\Exception {
		
		/**
		* @param bool $textOnly If true, $message will be escaped for html
		*/
		public function __construct($message = '', $textOnly = true, $code = 0, \Exception $previous = null) {			
			$message = UString::appendOrEqual($message, 'ACCESS DENIED', ' : ', true);
			
			parent::__construct($message, $textOnly, $code, $previous);
		}
	}
	
?>